package com.jbit.hxy.model.dto;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 订单DTO
 */
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class WxOrderDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    //接收订单相关属性

    /**
     * 下单用户
     */
    private String openid;


    /**
     * 收货地址ID
     */
    private Integer addressId;
    private BigDecimal amount;


    /**
     * 订单备注
     */
    private String remark;

    //同时接收订单明细的属性
    private List<WxOrderDetailsDTO> orderDetails;
}
